package com.java.demo;

import org.springframework.stereotype.Component;

@Component
public class TEacher {
    public void sayHi(){
        System.out.println("Hi! TEacher!");
    }
}
